﻿using System;
using System.IO;
using LFSRecord2.Misc;

namespace LFSRecord2.Model.Sound
{
    public class Mp3Stream : WaveStream
    {
        public Mp3Stream(string fileName)
            : this(new EndianFileStream(fileName, FileMode.Open, EndianTypes.Little))
        {
        }
        public Mp3Stream(EndianFileStream stream)
        {
            _audioStream = stream;
            throw new NotImplementedException("Not yet implemented");
        }

        ~Mp3Stream()
        {
            Dispose(true);
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                //if (_audioStream != null)
                //    _audioStream.Close();
                //base.Dispose();
                GC.SuppressFinalize(this);
            }
        }
    }
}
